package com.hc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hc.entity.QcEquipment;
import com.hc.entity.QcMonitor;
import com.hc.model.QcMonitorModel;
import com.hc.model.QcRecordStatusModel;
import com.hc.model.QualityControlReportList;

import javax.servlet.http.HttpServletResponse;
import java.util.Date;
import java.util.List;

/**
 * @author LiuZhiHao
 * @date 2019/8/28 14:07
 * 描述:
 **/
public interface QcMonitorService extends IService<QcMonitor> {
    void saveQcMonitor(QcMonitorModel qcMonitorModel);

    Date getbeforeMaintainTime(Integer eqId);

    List<QcMonitorModel> findEqDeatil(QcRecordStatusModel qcRecordStatusModel);

    List<QcEquipment> getMonEq(Integer commonlyUsed,String enable);

    void exportExcel(HttpServletResponse response, QcRecordStatusModel qcRecordStatusModel);

    /**
     * 根据设置id和当前时间，添加一条是否添加液氮的维护记录
     * @param eqId
     */
    void addIsAddLiquidNitrogen(Integer eqId);
}
